package com.zdj.data.datasource;

import com.zdj.data.entity.TestUserEntity;
import com.zdj.data.net.RetrofitClient;
import com.zdj.data.services.ITestUserEntityService;

import java.util.List;

import retrofit2.adapter.rxjava.Result;
import rx.Observable;

/**
 * Created by zdj on 16-10-6.
 */

public class TestUserEntityCloudDataSource extends BaseDataStore<TestUserEntity> {
    @Override
    public Observable<List<TestUserEntity>> entityList(String... strings) {
        return null;
    }

    @Override
    public Observable<Result<TestUserEntity>> entityDetails(int id, String... strings) {
        return null;
    }

    @Override
    public Observable<Result<TestUserEntity>> getEntity() {
        return RetrofitClient.createService(ITestUserEntityService.class).getUserEntity();
    }
}
